package com.tedu.ds.coupon.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
public class CouponSaveParam {
    @ApiModelProperty(value = "优惠券id", example = "1")
    private Integer id;

    @ApiModelProperty(value = "优惠券名称", example = "国庆大促优惠券", required = true)
    private String name;

    @ApiModelProperty(value = "优惠券类型", example = "满减券")
    private String type;

    @ApiModelProperty(value = "优惠券效果", example = "满1000减100")
    private String effect;

    @ApiModelProperty(value = "使用条件", example = "单笔订单满1000元可用")
    private String userCondition;

    @ApiModelProperty(value = "有效时间", example = "2023-10-01 至 2023-10-31")
    private String validityPeriod;

    @ApiModelProperty(value = "发放数量", example = "10000")
    private Integer issuedQuantity;

    @ApiModelProperty(value = "已使用数量", example = "5000")
    private Integer usedQuantity;

    @ApiModelProperty(value = "状态", example = "有效")
    private String status;

    @ApiModelProperty(value = "备注", example = "此优惠券仅限国庆期间使用")
    private String remark;

    @ApiModelProperty(value = "发放渠道", example = "线上商城、线下门店")
    private String issuedChannel;

}
